<template>
    <div class="schedule-container">
        <van-empty v-if="empty" description="暂无日程" />
    </div>
</template>
<script>
import { Toast } from 'vant';
export default {
    name:'Schedule',
    data() {
        return {
            empty:false
        }
    },
    mounted() {
        Toast.loading({
            message: '加载中...',
            forbidClick: true,
            duration:0
        });
        setTimeout(() => {
            Toast.clear();
            this.empty = true;
        },1000);
    }
}
</script>
<style lang="less">
.schedule-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
</style>